package com.wjw.openclosed.openclosed02;

/**
 * TODO: 描述
 *
 * @author ikaros
 * @date 2024/7/9 1:08
 * @see <a href="ikaros@qq.com">mailTo: ikaros@qq.com</a>
 */
public class Client {
    public static void main(String[] args) {
        Client client = new Client();
        client.useDb(new Mysql());
    }

    public void useDb(DataBase db){
        db.query();
    }
}
